package com.tebiecloud.yunst.client.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.tebiecloud.common.mybatis.base.entity.AbstractEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 
 * @author tebie
 * @date 2019-09-07
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class YunAgentPay extends AbstractEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "agent_pay_id", type = IdType.ID_WORKER)
    private Long agentPayId;

    /**
     * 代付单号
     */
    private String bizOrderNo;

    /**
     * 源代收订单列表[{"amount":1,"bizOrderNo":"TGDSS1565680600877"}]
     */
    private String collectPayList;

    /**
     * 收款人id
     */
    private String recieverId;

    /**
     * 金额（单位：分）
     */
    private Integer amount;

    /**
     * 代付状态：0未付，1已付，2失败
     */
    private Integer payStatus;

    private String remark;

}
